/*
 * Language
 * 
 * Copyright 2008-2011 Centro Andaluz de Innovacion y Tecnologias de la
 * Informacion y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnologico de Andalucia 29590 - Campanillas, Malaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.weatherservice.model;

/**
 * Enumerate for choosing the language for weather predictions
 */
public enum Language {

	SPANISH(1, "es"), ENGLISH(2, "en");

	/**
	 * readable name for the enumerate value
	 */
	private String readableValue;
	
	/**
	 * enumerate numeric value
	 */
	private int value;

	/**
	 * Get the readable name
	 * 
	 * @param readableName
	 *            readable name for the enumerate value
	 */
	Language(int value, String readableValue) {
		this.readableValue = readableValue;
		this.value = value;
	}

	/**
	 * Set the readable name
	 * 
	 * @return a readable name for the enumerate value
	 */
	public String getReadableValue() {
		return this.readableValue;
	}

	/**
	 * @return the value
	 */
	public int getValue() {
		return this.value;
	}

}
